Items cannot be added to a project that is not available in Solution Explorer.

This error generally occurs when a project that has been specified is not open in Project Explorer. The application cannot add items to a project that is not currently available in Project Explorer.

To correct this error